package com.design.template;


public abstract class AbstractPerson {
    //去学校
    public void goSchool() {
        getUp();
        dressing();
        eat();
    }

    //起床
    public abstract void getUp();

    //穿衣服
    public abstract void dressing();

    //吃早餐
    public abstract void eat();
}